load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "MediaEditorScreen",
    module_name = "MediaEditorScreen",
    srcs = glob([
        "Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//submodules/AsyncDisplayKit:AsyncDisplayKit",
        "//submodules/Display:Display",
        "//submodules/Postbox:Postbox",
        "//submodules/TelegramCore:TelegramCore",
        "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
        "//submodules/ComponentFlow:ComponentFlow",
        "//submodules/Components/ViewControllerComponent:ViewControllerComponent",
        "//submodules/Components/ComponentDisplayAdapters:ComponentDisplayAdapters",
        "//submodules/Components/MultilineTextComponent:MultilineTextComponent",
        "//submodules/TelegramPresentationData:TelegramPresentationData",
        "//submodules/AccountContext:AccountContext",
        "//submodules/AppBundle:AppBundle",
        "//submodules/TelegramStringFormatting:TelegramStringFormatting",
        "//submodules/TelegramUIPreferences:TelegramUIPreferences",
        "//submodules/PresentationDataUtils:PresentationDataUtils",
        "//submodules/ContextUI",
        "//submodules/LegacyComponents:LegacyComponents",
        "//submodules/LegacyMediaPickerUI",
        "//submodules/TelegramUI/Components/MediaEditor",
        "//submodules/DrawingUI:DrawingUI",
        "//submodules/Components/LottieAnimationComponent:LottieAnimationComponent",
        "//submodules/Components/BundleIconComponent:BundleIconComponent",
        "//submodules/TelegramUI/Components/MessageInputPanelComponent",
        "//submodules/TelegramUI/Components/TextFieldComponent",
        "//submodules/TelegramUI/Components/ChatInputNode",
        "//submodules/TelegramUI/Components/ChatEntityKeyboardInputNode",
        "//submodules/TelegramUI/Components/PlainButtonComponent",
        "//submodules/TooltipUI",
        "//submodules/AvatarNode",
        "//submodules/TelegramUI/Components/ShareWithPeersScreen",
        "//submodules/TelegramUI/Components/CameraButtonComponent",
        "//submodules/ChatPresentationInterfaceState",
        "//submodules/DeviceAccess",
        "//submodules/LocationUI",
        "//submodules/TelegramUI/Components/AudioWaveformComponent",
        "//submodules/ReactionSelectionNode",
        "//submodules/TelegramUI/Components/VolumeSliderContextItem",
        "//submodules/TelegramUI/Components/Stories/ForwardInfoPanelComponent",
        "//submodules/TelegramUI/Components/ContextReferenceButtonComponent",
        "//submodules/TelegramUI/Components/MediaScrubberComponent",
        "//submodules/Components/BlurredBackgroundComponent",
        "//submodules/TelegramUI/Components/DustEffect",
        "//submodules/WebPBinding",
        "//submodules/StickerResources",
        "//submodules/StickerPeekUI",
        "//submodules/TelegramUI/Components/Stickers/StickerPackEditTitleController",
        "//submodules/TelegramUI/Components/StickerPickerScreen",
        "//submodules/UIKitRuntimeUtils",
        "//submodules/TelegramUI/Components/MediaEditor/ImageObjectSeparation",
        "//submodules/Components/HierarchyTrackingLayer",
        "//submodules/TelegramUI/Components/ListSectionComponent",
        "//submodules/WebsiteType",
        "//submodules/UrlEscaping",
        "//submodules/DeviceLocationManager",
        "//submodules/TelegramUI/Components/SaveProgressScreen",
        "//submodules/TelegramUI/Components/MediaAssetsContext",
        "//submodules/CheckNode",
        "//submodules/TelegramNotices",
    ],
    visibility = [
        "//visibility:public",
    ],
)
